package com.hengxinguotong.hxgtwygsp.ui.supervise;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.animation.RotateAnimation;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.BaseTabFragment;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.supervise.patrol.PatrolFragment;
import com.hengxinguotong.hxgtwygsp.ui.supervise.satisfaction.SatisfactionFragment;
import com.hengxinguotong.hxgtwygsp.ui.supervise.suggestion.SuggestionFragment;
import com.hengxinguotong.hxgtwygsp.ui.supervise.warning.WarningFragment;

/**
 * TODO 监管信息公示
 *
 * @author hjz
 * @version V1.0.0
 * @since 2019/4/2 14:36
 */
public class SuperviseActivity extends DialogActivity
{

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
    }

    @Override
    public void initFragmentList()
    {
        dialogTitle.setText(R.string.main_supervise_info_publish);
        BaseTabFragment patrolTab = new PatrolFragment();
        patrolTab.setTabText(getString(R.string.main_patrol_rectify));
        baseTabFragmentList.add(patrolTab);
        BaseTabFragment suggestionTab = new SuggestionFragment();
        suggestionTab.setTabText(getString(R.string.main_complaint_suggestion));
        baseTabFragmentList.add(suggestionTab);
        BaseTabFragment satisfactionTab = new SatisfactionFragment();
        satisfactionTab.setTabText(getString(R.string.main_satisfaction_measurement));
        baseTabFragmentList.add(satisfactionTab);
        BaseTabFragment warningTab = new WarningFragment();
        warningTab.setTabText(getString(R.string.main_warning));
        baseTabFragmentList.add(warningTab);
    }
}
